package com.bewg.example.plugins;

//import com.apple.eawt.Application;
import com.bewg.example.MainApplication;
import com.gitee.starblues.bootstrap.SpringPluginBootstrap;
import com.gitee.starblues.bootstrap.annotation.OneselfConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@SpringBootApplication
@OneselfConfig(mainConfigFileName = {"application.yml", "application-dev.yml"})
@EnableConfigurationProperties
public class PluginsApplication extends SpringPluginBootstrap {

	public static void main(String[] args) {

		System.out.println("plugins 1 started");
//		SpringApplication.run(PluginsApplication.class, args);
		new PluginsApplication().run(MainApplication.class, args);
	}

}
